package scsc.web.xzgl.hidtrouble.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.xzgl.hidtrouble.data.HiddenTroubleData;

public class HiddenTroubleForm extends AppActionForm {
	private HiddenTroubleData data=null;
	private HiddenTroubleData conditionData=null;
	public HiddenTroubleForm(){
		data=new HiddenTroubleData();
		conditionData=new HiddenTroubleData();
	}
	public void rest(ActionMapping mapping,HttpServletRequest request){
		super.reset(mapping,request);
		data.reset();
		conditionData.reset();
	}
	public ActionErrors validata(ActionMapping mapping,HttpServletRequest request){
		ActionErrors errors = new ActionErrors();
		return errors;
	}
	public HiddenTroubleData getData(){
		return this.data;
	}
	public void setData(HiddenTroubleData data){
		this.data=data;
	}
	
	public HiddenTroubleData getConditionData(){
		return this.conditionData;
	}
	public void setConditionData(HiddenTroubleData conditionData){
		this.conditionData=conditionData;
	}
}
